package com.net.xpay.core.manager;

import com.net.common.manager.VersionedManager;
import com.net.xpay.core.domain.PayTransSummary;
import com.net.xpay.core.enums.PayTransBatchStatus;

import java.time.LocalDateTime;
import java.util.List;


public interface PayTransSummaryManager extends VersionedManager<Long,PayTransSummary> {
    PayTransSummary findById(Long userId, Long id);

    List<PayTransSummary> listByStatuses(List<PayTransBatchStatus> payTransBatchStatuses, LocalDateTime minCreateTime, LocalDateTime maxCreateTime);
}
